<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Comment Cropper</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../css/style.css" type="text/css">
</head>

<body>
<table width="100%" border="0" cellpadding="4">
  <tr>
    <td class="head" height="16">Comment Cropper</td>
  </tr>
  <tr>
    <td bgcolor="#FF9900" height="6"></td>
  </tr>
  <tr>
    <td height=6></td>
  </tr>
</table>
<p class="title">Comment Cropper</p>
<p class="text" align="left">This wizard is used to delete comments in Pascal/C/C++ units. The dialog of this wizard is as below.</p>
<p align="center"> <img src="commcropper.png"></p>
<p class="text"><b>Select Content to Crop</b></p>
<p class="text">Here you can choose what to crop:</p>
<ul>
  <li>
    <p class="text"><b>Current Selection</b>: Crop the comments of selected block in current unit.</p>
  </li>
  <li>
    <p class="text"><b>Current Unit</b>: Crop the comments of current unit.</p>
  </li>
  <li>
    <p class="text"><b>All Opened Units</b>: Crop the comments of all opened units.</p>
  </li>
  <li>
    <p class="text"><b>All Units in Current Project</b>: Crop the comments of all units in current project.</p>
  </li>
  <li>
    <p class="text"><b>All Units in Current ProjectGroup</b>: Crop the comments of all units in current projectgroup.</p>
  </li>
  <li>
    <p class="text"><b>Search Directory</b>: Crop the comments under specified directory. If checked, the other options, including Root directory, file mask and whether to include sub-directory, can be set in "Search Directory" Groupbox.</p>
  </li>
</ul>

<p class="title" align="left">&nbsp;
<p class="text"><b>Crop Settings</b></p>
<p class="text">Here you can set the cropping options:</p>
<ul>
  <li>
    <p class="text"><b>Delete All Comment Block</b>: Delete all content of comment block when cropping.</p>
  </li>
  <li>
    <p class="text"><b>Only Delete Extended ASCII Chars</b>: Only delete extended ASCII chars (> 127). Block is kept. It's often used to migrate codes to English platform.</p>
  </li>
  <li>
    <p class="text"><b>Crop Delphi Compiler Directive</b>: This option is only enabled in Delphi. If this checkbox was selected, compiler directives will be cropped as comments. This option is not recommended for compiling.</p>
  </li>
  <li>
    <p class="text"><b>Crop Todo List</b>: If this checkbox was selected, Todo list in code will be cropped as comments.</p>
  </li>
  <li>
    <p class="text"><b>Crop Project Source</b>: If this checkbox was selected, Project Source file will be cropped.</p>
  </li>  
  <li>
    <p class="text"><b>Reserve Block Comment {...} and /*...*/ Begining with</b>: If this checkbox was selected, blocks that the content start with one of the strings in edit  will be kept. Strings in edit are separated by comma. For example, if the content of edit is "*,(*,*),#", the 4 forms of comments such as {*...}, {(*...}, {*)...} and {#...} will be ignored. (Keeping (*...*) is not supported.) This option is for keeping customized comments conveniently.</p>
  </li>
  <li>
    <p class="text"><b>Merge Continuous Blank Lines to One.</b>Some blank lines will be kept after comments cropping. This option can be used to merge continuous blank lines to one blank line.</p>
  </li>
</ul>
<p class="title" align="left">&nbsp;
<p class="title">Links</p>
<p class="text" align="left">
<a href="wizards.htm">Basic Operation</a><p class="text" align="left">
<a href="../options/wizconfig.htm">CnWizards Settings</a><p class="text" align="left">
<a href="../cnpack/index.htm">About CnWizards</a>
<p class="text" align="left">&nbsp; 
<hr>
<p class="text" align="center"><a href="https://www.cnpack.org">Copyrights 2001-2025 CnPack Team</a></p>
</body>
</html>